package com.manli.api.controller;

import java.util.Arrays;
import java.util.Map;
import com.manli.api.pojo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import com.manli.api.base.annotation.Permissions;
import com.manli.api.dto.LoggingEvent;
import com.manli.api.service.LoggingEventService;



/**
 * 
 *
 * @author manli
 * @email 
 * @date 2020-05-06 09:35:47
 */
@Api(value="/loggingevent", tags="")
@RestController
@RequestMapping("api/loggingevent")
public class LoggingEventController {
    @Autowired
    private LoggingEventService loggingEventService;

    /**
     * 列表
     */
    @ApiOperation(value = "列表",notes = "")
    @PostMapping("/list")
    @Permissions(module = "", privilege = "", typeOfAccess = Permissions.METHOD_LOGIN_PERMISSONS)
    public Result list(@RequestBody Map<String, Object> params){
        return loggingEventService.queryPage(params);
    }


}
